<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title><?=$title?></title>
<?php
if(!empty($css)) 
{
	$css = explode(",", $css);
	foreach($css as $css_file){
		echo "<link rel='stylesheet' type='text/css' href='".base_url()."static/css/$css_file' />";
	}
}
?>

<script src="<?=base_url()?>static/js/jquery-1.6.2.js" type="text/javascript"></script>
<script>base_url = "<?=base_url()?>";</script>
<?php
if(!empty($js)) 
{
	$js = explode(",", $js);
	foreach($js as $script_file){
		echo "<script type='text/javascript' src='".base_url()."static/js/$script_file'></script>";
	}
}


?>
</head>
<body>
<?=$header?>
<?=$content?>
<?=$footer?>
</body>
</html>